using CQRS.Events;
using CQRS.Events.DomainClass;

namespace CQRS.Sample.Domain.BOs
{
    public class Pilot : BaseEntity<Event>
    {
        public Pilot(string name, string surname, long flightsMade)
        {
            Name = name;
            Surname = surname;
            FlightsMade = flightsMade;
        }

        public Pilot()
        {
        }

        public string Name { get; private set; }
        public string Surname { get; private set; }
        public long FlightsMade { get; private set; }

    }
}